﻿namespace Wms.Core.Entities
{
	public class SerialNumber
	{
		public int Id { get; set; }
		public int ItemId { get; set; }
		public Item Item { get; set; } = null!;

		public string SerialNo { get; set; } = string.Empty;
		public string? BatchNo { get; set; }
		public int? LocationId { get; set; }
		public Location? Location { get; set; }

		public string Status { get; set; } = "InStock"; // InStock / Out / Scrapped / Reserved
		public DateTime CreatedTime { get; set; } = DateTime.Now;
	}

}
